require 'rails/generators'

class PresenterGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('../../templates/', __FILE__)

  def create_service_file
    template 'presenter_template.rb', "app/presenters/#{name.downcase}_presenter.rb"
  end
end

